<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--引入shiro标签-->
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<html>
<head>
    <title></title>
</head>
<body>
    欢迎<h1><shiro:principal /></h1>登录！
    <hr/>
    欢迎<h1>${subject.principal}</h1>登录成功！<a href="${pageContext.request.contextPath}/logout">退出</a>
</body>
</html>